<?php

// 获取会员微信信息
// GET member.wxInfo

namespace app\api\resource\member;
use think\Session;

class WxInfo
{
    // 方法
    public $_method = ['GET'];
    // 前置
    public $_pre    = ['wxOauth'];
    // 描述
    public $_description = '获取会员微信信息';
    // 参数
    public $_param  = [
    ];
    // 返回
    public $_return = [
        200 => '获取成功',
    ];

    public function run(&$request)
    {
        $wechat = Session::get('wechat');
        return [200,$wechat];
    }
}